home *** CD-ROM | disk | FTP | other *** search
- /*
- File: Clipboard.h
-
- Contains: Clipboard Manager Interfaces.
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __CLIPBOARD__
- #define __CLIPBOARD__
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
- #ifndef __SCRAP__
- #include <Scrap.h>
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import on
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=mac68k
- #endif
-
- #if FOR_SYSTEM8_PREEMPTIVE
- /*
- _________________________________________________________________________________________________________
- • ERRORS
- _________________________________________________________________________________________________________
- */
-
- enum {
- kClipboardEmptyErr = -1000,
- kClipboardScrapNotFoundErr = -1001
- };
-
- /*
- _________________________________________________________________________________________________________
- • PUTTING A SCRAP ON THE CLIPBOARD
- _________________________________________________________________________________________________________
- */
- extern OSStatus PutScrapOnClipboard(ScrapRef theScrap);
-
- /*
- _________________________________________________________________________________________________________
- • GETTING A SCRAP FROM THE CLIPBOARD
- _________________________________________________________________________________________________________
- */
- extern OSStatus GetScrapFromClipboard(ScrapRef *theScrap);
-
- extern OSStatus ReleaseClipboardScrap(ScrapRef theScrap);
-
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=reset
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import off
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __CLIPBOARD__ */
-
-